package com.company.project.web;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.io.IOException;

/**
 * @Author: zhaoqi
 * @Date: 11/15/2019 2:36 PM
 * @Version 1.0
 */
@RestController
@RequestMapping("/demo")
public class DemoController {

    @GetMapping("get")
    public String get() throws IOException {
        //HttpClient httpClient = new HttpClient("http://www.baidu.com");
        return  "";
    }

}
